import request from "@/utils/request";

export function getPageDataApi(data) {
  return request({
    url: "/api/system.banquet/index",
    method: "post",
    data: data,
  });
}

export function getBanquetListApi(data) {
  return request({
    url: "/api/system.banquet/getList",
    method: "post",
    data: data,
  });
}

export function readlApi(data) {
  return request({
    url: "/api/system.banquet/read",
    method: "post",
    data: data,
  });
}

export function createApi(data) {
  return request({
    url: "/api/system.banquet/create",
    method: "post",
    data: data,
  });
}

export function saveApi(data) {
  return request({
    url: "/api/system.banquet/save",
    method: "post",
    data: data,
  });
}

export function deleteApi(data) {
  return request({
    url: "/api/system.banquet/delete",
    method: "post",
    data: data,
  });
}
